<template>
  <div>
    啦啦啦啦我在这里
    <!-- </footer> -->
    <div class="dialog-footer">
      <el-button @click="test">123123123</el-button>
    </div>
  </div>
</template>
<script setup>
import { inject } from 'vue'
const $dialog = inject('$dialog')
console.log($dialog.data, 'ww')
const test = () => {
  console.log('ddd', $dialog)
  $dialog.done()
}
</script>